﻿using System.Drawing;

namespace _2048 {
    // 常量
    class Const {
        // 格
        public const int GRID_SIZE = 120;                                               // 尺寸

        // 游戏区域
        public const int GAME_BOARD_X = 10;                                             // 左上角 X 坐标
        public const int GAME_BOARD_Y = 10;                                             // 左上角 Y 坐标
        public const int GAME_BOARD_GRID_COUNT_H = 4;                                   // 横向格数
        public const int GAME_BOARD_GRID_COUNT_V = 4;                                   // 纵向格数
        public const int GAME_BOARD_WIDTH = GRID_SIZE * GAME_BOARD_GRID_COUNT_H;        // 宽度
        public const int GAME_BOARD_HEIGHT = GRID_SIZE * GAME_BOARD_GRID_COUNT_V;       // 高度
        public static readonly Color GAME_BOARD_COLOR = Color.FromArgb(250, 200, 150);  // 背景色
        public const string GAME_BOARD_FONT_NAME = "Arial";                             // 字体名
        public const int GAME_BOARD_FONT_SIZE = 36;                                     // 字体尺寸

        // 胜利数
        public const int WIN_NUMBER = 2048;                                             // 达到此数胜利
    }
}
